package org.yasukusury.crawler.mapper;

import org.apache.ibatis.annotations.Param;
import org.yasukusury.crawler.dao.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Y
 * @since 2017-11-12
 */
public interface ListMapper{
    List select(String asin);
    int insert(List list);
    int update(List list);
    Integer stat(@Param("asin") String asin, @Param("rank") Integer rank);
    int drop(@Param("asin") String asin);
    int create(@Param("asin") String asin);
}
